package cn.wolfcode.crm.mapper;

import cn.wolfcode.crm.domain.Gift;
import cn.wolfcode.crm.query.GiftQueryObject;

import java.util.List;

public interface GiftMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Gift record);

    Gift selectByPrimaryKey(Long id);

    List<Gift> selectAll();

    int updateByPrimaryKey(Gift record);
    List<Gift> query(GiftQueryObject qo);
    Integer count(GiftQueryObject qo);

    void updateNumber(Gift gift);

    List<Gift> recordGift();
}